package com.leyou.trade.dto;

import com.leyou.common.dto.BaseDTO;
import com.leyou.trade.entity.Order;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author YYP
 * @date 2021/1/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OrderVO extends BaseDTO {
    private Long orderId;
    private Long totalFee;
    private Long postFee;
    private Long actualFee;
    private Integer paymentType;
    private Long userId;
    private Integer status;
    private Date createTime;
    private Date payTime;
    private Date consignTime;
    private Date endTime;
    private Date closeTime;
    private Date commentTime;

    public OrderVO(Order entity) {
        super(entity);
    }
}
